<?php

include 'conf/conexion_bd.php';
include 'funciones/funciones_usuarios.php';

	$tkn = $_POST['tkn'];
	$new_pass = $_POST['new_pass'];
	
	if (!empty($new_pass)){
	
	if (nuevo_password($tkn, $new_pass)){
		echo "exito";
	} 
	
	}

	include 'template/cerrar_conexion_db.php';
	
?>